home *** CD-ROM | disk | FTP | other *** search
/ Aminet 22 / Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso / Aminet / util / conv / macwhack.lha / macwhack.doc < prev    next >
Text File  |  1997-01-03  |  2KB  |  49 lines

  1. MACWHACK 1.0 (01/01/1997) MacBinary header remover
  2. by Philip Tsao (Tp12a@cc.gatech.edu)
  3.  
  4.     Ever received a Microsoft Excel(TM) or other type of file from a
  5. colleague only to find that you can't open it on your IBM PC compatible?
  6. Did you delete the file in disgust and take out your frustrations on your
  7. colleague, only to find that this whole misunderstanding occured just
  8. because he/she (your colleague) created the file on a Macintosh? If this
  9. sort of thing happens often, this program is just what you need.
  10.  
  11.     I'm not in the business of hating Macs. I actually like them quite
  12. a bit. I think their filesystem is rather neat-- except no one else stores 
  13. files the way a Mac does. This buggers up file transfers, among other
  14. things. Sometimes, when a Mac file is copied to a non-Mac disk, a 128 byte
  15. MacBinary header is slapped onto the beginning of the file (actually, the
  16. data fork, but that's another story for another time). This 128 byte header
  17. is what annoys non-Mac computers.
  18.  
  19.     This program (the one you're reading the docs to) gets rid of the
  20. offending 128 byte header. The syntax is something like this:
  21.  
  22.         bozoshell.1> macwhack infile outfile
  23.  
  24. I leave it to your intuition to conclude that <infile> is the file that
  25. contains the MacBinary header and <outfile> is the one that doesn't.
  26.  
  27. WARNING:
  28.     Use this program at your own risk. I disclaim any responsibility
  29. for what this program does/doesn't do. This program was the result of a
  30. good afternoon's worth of hacking. If you feel uncomfortable about running
  31. software that was thrown together in one afternoon, delete this program 
  32. now.
  33.  
  34.     This program is so good at removing 128 byte MacBinary headers that
  35. it'll remove the first 128 bytes from _ANY_ file, whether it be a Macintosh
  36. file or your payroll database. Using this program unwisely can result in
  37. loss of data. Again, I am not responsible for any of it.
  38.  
  39.     This program probably contains bugs. This program is already TOO
  40. SLOW and TOO HUGE. As a result, I've removed all type-checking code. That
  41. means if you screw up the syntax, your computer could explode. If your
  42. computer explodes, I am not responsible. (notice a pattern?)
  43.  
  44. NOTICE:
  45. Microsoft Excel(TM) is a registered trademark of Microsoft, Corp.
  46. IBM PC is a registered trademark of International Business Machines, Inc.
  47. Macintosh is a registered trademark of Apple Computer, Inc.
  48. The "gatech.edu" domain is probably a trademark of the Georgia Institute of
  49. Technology.